﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="EquipKeptReg.aspx.cs" Inherits="EquipKeptReg" Title="设备保管信息登记" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" runat="Server">
    <h1 id="pagetitle" class="pagetitle">
        设备保管信息登记
        <asp:UpdateProgress ID="UpdateProgress1" runat="server">
            <ProgressTemplate>
                <div class="anistyle" id="ani">
                    正在加载数据，请耐心等待...
                </div>
            </ProgressTemplate>
        </asp:UpdateProgress>
    </h1>
    <asp:UpdatePanel ID="UpdatePanel" runat="server">
        <ContentTemplate>
            <div class="condition">
                <div class="conditioninput">
                </div>
                <div class="conditionbutton">
                    <asp:Button ID="CreateGo" runat="server" Text="保存登记" Width="90px" OnClick="CreateGo_Click"
                        ValidationGroup="Create" />
                        <asp:Button id="BtnBack" runat="server" Text="返回" OnClick="BtnBack_Click"></asp:Button>
                </div>
            </div>
            <div runat="server" id="divResult" class="divResult">
                <asp:Label ID="OperationResult" CssClass="result" runat="server" Text=""></asp:Label>
            </div>
            <div class="InfoArea">
                <asp:HiddenField ID="LastKeptID" runat="server" />
                <asp:Panel ID="CreatePanel" runat="server" Width="100%">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tablehaveborder">
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;设备编号：
                            </td>
                            <td style="width: 400px;">
                                <asp:TextBox ID="CreateEquip_ID" runat="server" Width="99%" ValidationGroup="Create"></asp:TextBox>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;<asp:RequiredFieldValidator ID="CreateRequired1" runat="server" ControlToValidate="CreateEquip_ID"
                                    Display="Dynamic" ErrorMessage="请输入设备编号！" ValidationGroup="Create"></asp:RequiredFieldValidator></td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;交付人部门：</td>
                            <td style="width: 400px;">
                                <asp:DropDownList ID="CreateDdlDeptID1" runat="server" Width="99%" AutoPostBack="True"
                                    OnSelectedIndexChanged="CreateDdlDeptID1_SelectedIndexChanged" ValidationGroup="Create">
                                </asp:DropDownList></td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;交付人：</td>
                            <td style="width: 400px;">
                                <asp:DropDownList ID="CreateUser_Code1" runat="server" Width="99%" ValidationGroup="Create">
                                </asp:DropDownList></td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;保管人部门：</td>
                            <td style="width: 400px;">
                                <asp:DropDownList ID="CreateDdlDeptID2" runat="server" Width="99%" AutoPostBack="True"
                                    OnSelectedIndexChanged="CreateDdlDeptID2_SelectedIndexChanged" ValidationGroup="Create">
                                </asp:DropDownList></td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;保管人：</td>
                            <td style="width: 400px;">
                                <asp:DropDownList ID="CreateUser_Code2" runat="server" Width="99%" ValidationGroup="Create">
                                </asp:DropDownList></td>
                            <td style="width: 150px;">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="CreateUser_Code2"
                                    Display="Dynamic" ErrorMessage="请选择保管人！" ValidationGroup="Create"></asp:RequiredFieldValidator></td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; height: 24px;">
                                &nbsp;&nbsp;存放地点：
                            </td>
                            <td style="width: 400px;">
                                <asp:TextBox ID="CreateKpt_Addr" runat="server" Width="99%" ValidationGroup="Create"></asp:TextBox>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 70px; padding-top: 6px;" valign="top">
                                &nbsp;&nbsp;备注：
                            </td>
                            <td style="padding-top: 6px; height: 70px;" valign="top">
                                <asp:TextBox ID="CreateRem" runat="server" Width="99%" Height="70px" TextMode="MultiLine"
                                    ValidationGroup="Create"></asp:TextBox>
                            </td>
                            <td style="width: 150px;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 1px; background-color: #F0F0F0;" colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td  class="tblfooter" colspan="3" align="right">
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
